package com.xq.springboot.dao.jpa;

import com.xq.springboot.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface GirlRepository extends JpaRepository<Girl, Integer> {
	//通过年龄查询信息
	public List<Girl> findByAge(Integer age);
}
